﻿Public Class Calculate
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btn_calculate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_calculate.Click
        Dim a As Integer
        Dim b As Integer
        Dim total As Integer

        a = txt_1.Text
        b = txt_2.Text
        total = a + b

        lbl_total.Text = total
    End Sub
End Class